﻿using System;
namespace Model
{
	/// <summary>
	/// Appeal:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	public partial class Appeal
	{
        #region Teacher
        private string _Teacher_Name;
        public string Teacher_Name
        {
            get
            {
                if (string.IsNullOrEmpty(_Teacher_Name) && !string.IsNullOrEmpty(this._teacher))
                {
                    string[] array = this._teacher.Split('|');
                    _Teacher_Name = array[0];
                    _Teacher_Link = array[1];
                }
                return _Teacher_Name;
            }
        }
        private string _Teacher_Link;

        public string Teacher_Link
        {
            get
            {
                if (string.IsNullOrEmpty(_Teacher_Link) && !string.IsNullOrEmpty(this._teacher))
                {
                    string[] array = this._teacher.Split('|');
                    _Teacher_Name = array[0];
                    _Teacher_Link = array[1];
                }
                return _Teacher_Link;
            }
        } 
        #endregion

        #region Guardian1
        private string _Guardian1_Name;
        public string Guardian1_Name
        {
            get
            {
                if (string.IsNullOrEmpty(_Guardian1_Name) && !string.IsNullOrEmpty(this._guardian1))
                {
                    string[] array = this._guardian1.Split('|');
                    _Guardian1_Name = array[0];
                    _Guardian1_Relation = array[1];
                    _Guardian1_Link = array[2];
                }
                return _Guardian1_Name;
            }
        }
        private string _Guardian1_Relation;

        public string Guardian1_Relation
        {
            get
            {
                if (string.IsNullOrEmpty(_Guardian1_Name) && !string.IsNullOrEmpty(this._guardian1))
                {
                    string[] array = this._guardian1.Split('|');
                    _Guardian1_Name = array[0];
                    _Guardian1_Relation = array[1];
                    _Guardian1_Link = array[2];
                }
                return _Guardian1_Relation;
            }
        }
        private string _Guardian1_Link;

        public string Guardian1_Link
        {
            get 
            {
                if (string.IsNullOrEmpty(_Guardian1_Name) && !string.IsNullOrEmpty(this._guardian1))
                {
                    string[] array = this._guardian1.Split('|');
                    _Guardian1_Name = array[0];
                    _Guardian1_Relation = array[1];
                    _Guardian1_Link = array[2];
                }
                return _Guardian1_Link; 
            }
        } 
        #endregion

        #region Guardian2
        private string _Guardian2_Name;
        public string Guardian2_Name
        {
            get
            {
                if (string.IsNullOrEmpty(_Guardian2_Name) && !string.IsNullOrEmpty(this._guardian2))
                {
                    string[] array = this._guardian2.Split('|');
                    _Guardian2_Name = array[0];
                    _Guardian2_Relation = array[1];
                    _Guardian2_Link = array[2];
                }
                return _Guardian2_Name;
            }
        }
        private string _Guardian2_Relation;

        public string Guardian2_Relation
        {
            get
            {
                if (string.IsNullOrEmpty(_Guardian2_Name) && !string.IsNullOrEmpty(this._guardian2))
                {
                    string[] array = this._guardian2.Split('|');
                    _Guardian2_Name = array[0];
                    _Guardian2_Relation = array[1];
                    _Guardian2_Link = array[2];
                }
                return _Guardian2_Relation;
            }
        }
        private string _Guardian2_Link;

        public string Guardian2_Link
        {
            get
            {
                if (string.IsNullOrEmpty(_Guardian2_Name) && !string.IsNullOrEmpty(this._guardian2))
                {
                    string[] array = this._guardian2.Split('|');
                    _Guardian2_Name = array[0];
                    _Guardian2_Relation = array[1];
                    _Guardian2_Link = array[2];
                }
                return _Guardian2_Link;
            }
        }
        #endregion
	}
}

